package main

import (
	i "bbtradeByGo/init"
	"bbtradeByGo/pkg/logging"
	k "bbtradeByGo/service/kline"
	"time"
	

)

func run() {
	t := time.NewTicker(time.Second * 10)
	for _ = range t.C {
		k.DealTrade()
	}
}

func main() {
	//项目初始化
	i.Init()
	logging.Info("kline process is running")
	run()
}
